<?php

/**
 * @author honestphan
 * @copyright 2012
 */
//G?i t?p tin giao di?n trong thu m?c view/theme/template tuong ?ng

defined('DSVH') or die('Restricted access');

//lấy danh sach bang tin
//$list_lkw = getListlienketweb(0,10);
//$list_chedosinhhoat = getListchedosinhhoat(0, 5);
//$list_tinmoi = getlisttinhoatdongmoi(0,10);
//$list_phongban = getListPhongBan(0,10);
//$list_quangcaotrai = getListquangcaotrai(0,5);
//$list_quangcaophai = getListquangcaophai(0,5);
$list_lkw = getListlienketweb(0,30);

$list_doitac = getListQuangCao(2,0,5);
$list_qct = getListQuangCao(1,0,5);
$list_slider = getListQuangCao(3,0,10);

if(($_REQUEST['act']=='website') || ($_REQUEST['act']=='webdetail')|| ($_REQUEST['act']=='loaiweb')) {
    
    $loaiwebsite = getListloaiwebsite(0,50);
}

if(($_REQUEST['act']=='phanmem') || ($_REQUEST['act']=='phanmemdetail')|| ($_REQUEST['act']=='loaiphanmem')) {
    
    $loaiphanmem = getListloaiphanmem(0,50);
}

if(($_REQUEST['module']=='tinhoatdong') || ($_REQUEST['module']=='tuyendung')) {
    
    $loaitintuc = getListCattin(0,20);
}

if($_REQUEST['module']=='gioithieu') {
    
    $loaigioithieu = getmenugioithieu(1,10);
}

if($_REQUEST['module']=='dichvu') {
    
    $loaidichvu = true;
}

if($_REQUEST['act']=='hosting') {
    
    $loaihosting = true;
}

if($_REQUEST['act']=='domain') {
    
    $loaidomain = true;
}

if(($_REQUEST['act']=='thietkeweb')|| ($_REQUEST['act']=='vthietkeweb')|| ($_REQUEST['act']=='gthietkeweb')) {
    
    $mnthietkeweb = true;
}

if($_REQUEST['module']=='home') {
    
    $tindv = getListtinhoatdongbycat(3,0,5);
}

$menu_gioithieu = getmenugioithieu(1,10);
$cauhinh = getcauhinh(1);
?>